package main

import (
	"github.com/gin-gonic/gin"
	"lgb24kcs.com/im/api"
	global "lgb24kcs.com/im/config"
	"lgb24kcs.com/im/utils"
)

func main() {
	global.App.Viper = utils.NewConfigRead()
	global.App.Redis = utils.NewRedisClient()

	r := gin.Default()
	r.GET("/ws", api.HandleWebSocket)
	r.Run(":8080")
}
